#ifndef SYS_FILE_H_
#define SYS_FILE_H_

#include <dlcom/cominc.hpp>

os_fd_t os_file_open(const TCHAR *filepath, int flags, int mode);
int os_file_close(os_fd_t fh);
_off_t os_file_lseek(os_fd_t fh, _off_t offset, int whence);
int os_file_read(os_fd_t fh, void *buf, size_t size);
int os_file_write(os_fd_t fh, const void *buf, size_t size);
os_int64 os_file_fsize(os_fd_t fh);



#endif
